﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace NutriLeaf.Services.Core.Fluid
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IFluidService" in both code and config file together.
    [ServiceContract]
    public interface IFluidService
    {
        [OperationContract]
        void DrinkFluid(NutriLeaf.Web.Model.FluidDiary dairy, int userId, DateTime clientdateTime);
        [OperationContract]
        int GetFluidCount(int userId, DateTime clientDateTime);
        [OperationContract]
        void RemoveFluid(int userId, DateTime clientDateTime);
        [OperationContract]
        void RemoveRecentFluid(int userId);
        [OperationContract]
        List<NutriLeaf.Web.Model.FluidDiary> GetFluids(int userId, DateTime clientDateTime);
        [OperationContract]
        List<NutriLeaf.Web.Model.FluidDiary> GetFluids(int userId, DateTime clientDateTimeStart, DateTime clientDateTimeEnd);
    }
}
